package dongshi.daddy.service;

import com.alibaba.dubbo.common.utils.StringUtils;
import com.alibaba.dubbo.rpc.RpcException;

public class MyEventNotifyServiceImpl implements MyEventNotifyService {
    private static final String USER_ID = "1503892";

    @Override
    public String getUserName(String userId) {
        if (StringUtils.isBlank(userId)) {
            throw new RpcException("userId is null");
        }
        return USER_ID.equals(userId) ? "董事爸爸" : "";
    }
}